//this class use to bridge GToy Mutex implement
//andycai_sc 2012-03-08

#ifndef GTOYMUTEXIMPL_H
#define GTOYMUTEXIMPL_H

#include "GParallel/GMutexImpl.h"
#include "GToy/Thread.h"

class GToyMutexImpl : public GMutexImpl
{
public:
	GToyMutexImpl();
	~GToyMutexImpl();

	void lockImpl();
	void unlockImpl();

private:
	GToy::Mutex m_mutex;
};

#endif
